package dnl.persistence.orm;

import javax.persistence.Query;


public class SqlQueryBuilder extends QueryBuilder {

	public SqlQueryBuilder() {
	}

	public void injectQueryParameters(Query query) {
		Object[] queryParams = getQueryParams();
		for (int i = 0; i < queryParams.length; i++) {
			query.setParameter(i + 1, queryParams[i]);
		}
	}
}
